package dian.qing.li.demo.security.service;

import dian.qing.li.demo.security.dto.AuthRequestDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限-请求资源表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-07-01
 */
public interface AuthRequestService extends IService<AuthRequestDto> {

    /**
     * 根据请求路径获取访问的权限编码列表
     *
     * @author: liqingdian
     */
    List<String> getAuthorities(String method, String requestURI);
}
